package com.home.entity;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class UserInfo implements Serializable{
    private String userInfoId;  // 主键ID
    private String userId;      // 外键ID
    private String showName;    // 显示名字
    private Integer cityId;     // 城市ID
    private Integer genter;     // 性别 0：男 1：女
    private Integer age;        // 年龄
    private String brithday;    // 出生日期
    private Integer idType;     // 证件类型
    private String identityCard;// 证件号码
    private Date createTime;    // 创建时间
    private Date updateTime;    // 修改时间
    
    private User user;          // user对象
    
    public User getUser() {
        return user;
    }
    public void setUser(User user) {
        this.user = user;
    }
    public Date getCreateTime() {
        return createTime;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getUserInfoId() {
        return userInfoId;
    }
    public void setUserInfoId(String userInfoId) {
        this.userInfoId = userInfoId;
    }
    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getShowName() {
        return showName;
    }
    public void setShowName(String showName) {
        this.showName = showName;
    }
    public Integer getCityId() {
        return cityId;
    }
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }
    public Integer getGenter() {
        return genter;
    }
    public void setGenter(Integer genter) {
        this.genter = genter;
    }
    public Integer getAge() {
        return age;
    }
    public void setAge(Integer age) {
        this.age = age;
    }
    public String getBrithday() {
        return brithday;
    }
    public void setBrithday(String brithday) {
        this.brithday = brithday;
    }
    public Integer getIdType() {
        return idType;
    }
    public void setIdType(Integer idType) {
        this.idType = idType;
    }
    public String getIdentityCard() {
        return identityCard;
    }
    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }
    @Override
    public String toString() {
        return "UserInfo [userInfoId=" + userInfoId + ", userId=" + userId
                + ", showName=" + showName + ", cityId=" + cityId + ", genter="
                + genter + ", age=" + age + ", brithday=" + brithday
                + ", idType=" + idType + ", identityCard=" + identityCard
                + ", createTime=" + createTime + ", updateTime=" + updateTime
                + ", user=" + user + "]";
    }
    
    
}
